package com.zhangql;


import com.zhangql.frame.frame;
import com.zhangql.util.ActivityStack;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SportApp extends Activity {
    /** Called when the activity is first created. */
	private Button button = null;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        button = (Button)findViewById(R.id.welcome);
        button.setOnClickListener(new buttonClicker());
        
        
        ActivityStack.getInstance().addActivity(this);
    }
    
    class buttonClicker implements OnClickListener{

		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			Intent intent = new Intent();
			intent.setClass(SportApp.this, frame.class);
			startActivity(intent);
		}
    	
    }
}